package com.blockmeta.bbs.immodule.service;

import buf.Msg;
import io.netty.channel.socket.SocketChannel;

public interface ISocketManager {

    SocketChannel getSocket();

    void startConnect();

    void stopConnect();

    boolean isConnected();

    int getCurrentStatus();

    void setCurrentStatus(int currentStatus);

    boolean sendMessage(Msg.Message msg);
}
